package com.css.project.process.definition.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.css.framework.aspectj.lang.annotation.Excel;
import com.css.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 流程定义对象 test_activiti_main
 * 
 * @author dumk
 * @date 2020-04-22
 */
public class ProcessDefinition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 姓名 */
    @Excel(name = "流程名称")
    private String name;

    /** key */
    @Excel(name = "流程key")
    private String key;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 所属分类 */
    @Excel(name = "所属分类")
    private String category;

    /** 部署时间 */
    @Excel(name = "部署时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deploymentTime;

    /** $column.columnComment */
    private String deploymentId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setKey(String key) 
    {
        this.key = key;
    }

    public String getKey() 
    {
        return key;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setDeploymentTime(Date deploymentTime) 
    {
        this.deploymentTime = deploymentTime;
    }

    public Date getDeploymentTime() 
    {
        return deploymentTime;
    }
    public void setDeploymentId(String deploymentId)
    {
        this.deploymentId = deploymentId;
    }

    public String getDeploymentId()
    {
        return deploymentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("key", getKey())
            .append("description", getDescription())
            .append("version", getVersion())
            .append("category", getCategory())
            .append("deploymentTime", getDeploymentTime())
            .append("deploymentId", getDeploymentId())
            .toString();
    }
}
